package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName tb_item_goods
 */
@TableName(value ="tb_item_goods")
@Data
public class TbItemGoods implements Serializable {
    /**
     * 商品id，主键
     */
    @TableId(type = IdType.AUTO)
    @TableField(value = "goods_id")
    private Integer goods_id;

    /**
     * 分类id
     */
    @TableField(value = "cat_id")
    private Integer cat_id;

    /**
     * 商品名称
     */
    @TableField(value = "goods_name")
    private String goods_name;

    /**
     * 商品价格
     */
    @TableField(value = "goods_price")
    private Integer goods_price;

    /**
     * 商品介绍
     */
    @TableField(value = "goods_introduce")
    private String goods_introduce;

    /**
     * 商品库存
     */
    @TableField(value = "goods_number")
    private Integer goods_number;

    /**
     * 商品大图标
     */
    @TableField(value = "goods_big_logo")
    private String goods_big_logo;

    /**
     * 商品小图标
     */
    @TableField(value = "goods_small_logo")
    private String goods_small_logo;

    /**
     * 所属一级分类
     */
    @TableField(value = "cat_one_id")
    private Integer cat_one_id;

    /**
     * 所屋二级分类
     */
    @TableField(value = "cat_two_id")
    private Integer cat_two_id;

    /**
     * 所属三级分类
     */
    @TableField(value = "cat_three_id")
    private Integer cat_three_id;

    /**
     * 可用状态
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}